package com.example.a2032.db;


import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.example.a2032.db.dao.BindContactDao;
import com.example.a2032.db.dao.BindersDao;
import com.example.a2032.db.dao.ClockDataDao;
import com.example.a2032.db.dao.ContactDataDao;
import com.example.a2032.db.dao.DeviceInfoDao;
import com.example.a2032.db.dao.EcgSaveInfoDao;
import com.example.a2032.db.dao.EmUserDao;
import com.example.a2032.db.dao.GroupsDao;
import com.example.a2032.db.dao.HeartRateDataDao;
import com.example.a2032.db.dao.PPGDataDao;
import com.example.a2032.db.dao.RealTimeStepDao;
import com.example.a2032.db.dao.SleepDataDao;
import com.example.a2032.db.dao.TempDataDao;
import com.example.a2032.entity.DeviceInfo;
import com.example.a2032.entity.EcgSaveInfo;
import com.example.a2032.entity.EmUserEntity;
import com.example.a2032.entity.HeartRateData;
import com.example.a2032.entity.ImResultData;
import com.example.a2032.entity.JstyleClock;
import com.example.a2032.entity.PPGMeasureData;
import com.example.a2032.entity.RealTimeData;
import com.example.a2032.entity.SleepData;
import com.example.a2032.entity.TempData;
import com.example.a2032.net.jstylenet.BindContactData;
import com.example.a2032.net.jstylenet.ContactData;

@Database(entities = {EmUserEntity.class, DeviceInfo.class, HeartRateData.class
, RealTimeData.class, SleepData.class, BindContactData.class, JstyleClock.class, TempData.class,
        ContactData.class, PPGMeasureData.class, EcgSaveInfo.class, ImResultData.BindersBean.class, ImResultData.GroupsBean.class}, version =13)

public abstract class AppDatabase extends RoomDatabase {
    public abstract EmUserDao userDao();
    public abstract DeviceInfoDao deviceInfoDao();
    public abstract HeartRateDataDao heartRateDataDao();
    public abstract RealTimeStepDao realTimeStepDao();
    public abstract BindContactDao bindContactDao();
    public abstract SleepDataDao sleepDataDao();
    public abstract ClockDataDao clockDataDao();
    public abstract TempDataDao tempDataDao();
    public abstract ContactDataDao contactDataDao();
    public abstract PPGDataDao ppgDataDao();
    public abstract EcgSaveInfoDao ecgSaveInfoDao();
    public abstract GroupsDao groupsDao();
    public abstract BindersDao bindersDao();
}
